﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<SpecialtyView[]>" %>

<%@ Import Namespace="ilgolosone.UI.Models" %>   
<asp:Content ID="indexTitle" ContentPlaceHolderID="TitleContent" runat="server">
    Home Page
</asp:Content>
<asp:Content ID="mainHeader" ContentPlaceHolderID="Header" runat="server">
    <% var urlHelper = new UrlHelper(this.ViewContext.RequestContext); %>
    <script src="<%= Url.Content("~/Scripts/AC_RunActiveContent.js") %>" type="text/javascript"></script>
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="760" height="179">
          <param name="movie" value="<%= Url.Content("~/Content/Images/rest.swf") %>">
          <param name="quality" value="high">
          <embed src="<%= Url.Content("~/Content/Images/rest.swf") %>" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="760" height="179"></embed>
    </object>
</asp:Content>
<asp:Content ID="indexContent" ContentPlaceHolderID="MainContent" runat="server">
    <% var urlHelper = new UrlHelper(this.ViewContext.RequestContext); %>
    <td height="126" background="<%= urlHelper.Content("~/Content/Images/bg_pix_under.gif") %>">
        <table width="100%"  border="0" cellspacing="0" cellpadding="4">
        <%
            for (int i = 0; i < Model.Length; i++)
            {
                SpecialtyView model = Model[i];                               
        %>        
            <tr align="center">
                <td width="33%" align="center"><span class="style3"><img src="<%= urlHelper.Content("~/Content/Images/" + model.ImagePath) %>" width="131" height="87" align="middle" /></span></td>
                <td width="34%" align="left"><img src="<%= urlHelper.Content("~/Content/Images/bullet.gif")%>" width="10" height="5" hspace="5" vspace="6" align="left" /><span class="cont_name style1"><%=Html.ActionLink(model.Name, "RestaurantBySpecialty", new { Id = model.Id })%></span></td>
            </tr>
<% } %>
        </table>
    </td>
</asp:Content>
